package Demo4;
interface IA{
    void func1();
}
interface IB{
    void func2();
}
//功能拓展
interface IC extends IA,IB{
    void func3();
}
class D implements IC{

    @Override
    public void func1() {

    }

    @Override
    public void func2() {

    }

    @Override
    public void func3() {

    }
}
public class Test2 {
}
